function saveShaoboData(filename, data)

% SAVEDATA save a matrix as a Array2D
% 
% Shaobo Hou

temp = ['saving samples to ' filename ' \n'];
fprintf(temp);

fid = fopen(filename, 'wt');
saveMatrix(fid, data);
fclose(fid);
